4
4
.
.
5
5
G
G
e
e
o
o
m
m
e
e
t
t
r
r
i
i
c
c
a
a
l
l
S
S
h
h
a
a
p
p
e
e
s
s
(
(
C
C
a
a
n
n
v
v
a
a
s
s
)
)
I
I
n
n
f
f
o
o
[
[
R
R
]
]
Canvas View is used to draw geometrical shapes
● different functions are used to draw specific Shapes
● drawPoints() is used to specify series of points which can then be used to draw: Points, Lines and Polygons
● drawPath() is used to specify series of strokes
S
S
p
p
e
e
c
c
i
i
f
f
i
i
c
c
S
S
h
h
a
a
p
p
e
e
s
s
Following functions can be used to draw specific Shapes.
Arc Circle
Line Oval
Rectangle Rounded Rectangle
D
D
r
r
a
a
w
w
P
P
o
o
i
i
n
n
t
t
s
s
drawPoints() is used to specify series of pints which can then be used to draw: Points, Lines and Polygons.
Points PointMode.Points Lines PointMode.Lines
Polygon PointMode.Polygon
P
P
a
a
t
t
h
h
drawPath() is used to specify series of strokes.
Path